package com.teatrace.model.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;


@Entity
public class Field {

	@Id
	@Column(name="field_id")
	private int id;//对应数据库表中的field_id
	
	
	private String height;
	
	@Column(name="direction_towards")
	private String directionTowards;//对应数据库表中的direction_towards
	
	private String terrain;//地形

	private String area;
	
	private String longtitude;//经度
	
	private String latitude;//纬度
	
	@Column(name="annual_temperature")
	private String annualTemperature;//annual_temperature

	@Column(name="annual_humidity")
	private String annualHumidity;//annual_humidity
	
	@Column(name="annual_sunlight")
	private String annualSunlight;//annual_sunlight
	
	@Column(name="annual_precipitation")
	private String annualPrecipitation;//annual_precipitation
	
	@Column(name="soil_moisture")
	private String soilMoisture;//soil_moisture
	
	@Column(name="soil_thickness")
	private String soilThickness;//soil_thickness
	
	private String drainability;//排水能力
	
	@Column(name="soil_type")
	private String soilType;//soil_type
	
	private String description;
	
	@Column(name="p_content")
	private String pContent;//p_content
	
	@Column(name="k_content")
	private String kContent;//k_content
	
	@Column(name="c_n_rate")
	private String cnRate;//c_n_rate
	
	
	private String ph;

	private boolean deleted;
	
	private boolean free;

	public boolean getDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}



	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getDirectionTowards() {
		return directionTowards;
	}

	public void setDirectionTowards(String directionTowards) {
		this.directionTowards = directionTowards;
	}

	public String getTerrain() {
		return terrain;
	}

	public void setTerrain(String terrain) {
		this.terrain = terrain;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}
	


	public String getLongtitude() {
		return longtitude;
	}

	public void setLongtitude(String longtitude) {
		this.longtitude = longtitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getAnnualTemperature() {
		return annualTemperature;
	}

	public void setAnnualTemperature(String annualTemperature) {
		this.annualTemperature = annualTemperature;
	}
	
	public String getAnnualHumidity() {
		return annualHumidity;
	}

	public void setAnnualHumidity(String annualHumidity) {
		this.annualHumidity = annualHumidity;
	}

	public String getAnnualSunlight() {
		return annualSunlight;
	}

	public void setAnnualSunlight(String annualSunlight) {
		this.annualSunlight = annualSunlight;
	}

	public String getAnnualPrecipitation() {
		return annualPrecipitation;
	}

	public void setAnnualPrecipitation(String annualPrecipitation) {
		this.annualPrecipitation = annualPrecipitation;
	}

	public String getSoilMoisture() {
		return soilMoisture;
	}

	public void setSoilMoisture(String soilMoisture) {
		this.soilMoisture = soilMoisture;
	}

	public String getSoilThickness() {
		return soilThickness;
	}

	public void setSoilThickness(String soilThickness) {
		this.soilThickness = soilThickness;
	}

	public String getDrainability() {
		return drainability;
	}

	public void setDrainability(String drainability) {
		this.drainability = drainability;
	}

	public String getSoilType() {
		return soilType;
	}

	public void setSoilType(String soilType) {
		this.soilType = soilType;
	}

	public String getPContent() {
		return pContent;
	}

	public void setPContent(String content) {
		pContent = content;
	}

	public String getKContent() {
		return kContent;
	}

	public void setKContent(String content) {
		kContent = content;
	}

	public String getCnRate() {
		return cnRate;
	}

	public void setCnRate(String cnRate) {
		this.cnRate = cnRate;
	}

	public String getPh() {
		return ph;
	}

	public void setPh(String ph) {
		this.ph = ph;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDescription() {
		return description;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setFree(boolean free) {
		this.free = free;
	}

	public boolean isFree() {
		return free;
	}
	
	
}
